package com.plz.afmt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import lombok.experimental.Accessors;


import java.time.LocalDate;
import java.time.LocalDateTime;
import com.plz.web.base.dto.BaseDto;
/**
 * @author jzc
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("用户表-UserQueryDto")
public class UserQueryDto extends BaseDto implements Serializable{
private static final long serialVersionUID=1L;
    
	@ApiModelProperty("用户id(主键)")
	private Long id;
	@ApiModelProperty("手机号")
	private String mobile;
	@ApiModelProperty("普通用户的标识，对当前开发者帐号唯一")
	private String wxOpenid;
	@ApiModelProperty("用户统一标识。针对一个微信开放平台帐号下的应用，同一用户的unionid是唯一的")
	private String wxUnionid;
	@ApiModelProperty("创建时间")
	private LocalDateTime createTime;
	@ApiModelProperty("最后登录时间")
	private LocalDateTime lastLogin;
	@ApiModelProperty("0:正常状态 1:封禁状态")
	private Integer status;
	@ApiModelProperty("昵称")
	private String nickName;
	@ApiModelProperty("ip")
	private String ip;
	@ApiModelProperty("账号(可以为空但是不能重复)")
	private String username;
	@ApiModelProperty("真实姓名")
	private String realName;
	@ApiModelProperty("性别")
	private String sex;
	@ApiModelProperty("出生日期")
	private LocalDate birthday;
	@ApiModelProperty("会员状态（0、未开通 1、已开通  2、已过期）")
	private Integer vipStatus;
	@ApiModelProperty("会员开始时间")
	private LocalDateTime liberalTime;
	@ApiModelProperty("会员结束时间")
	private LocalDateTime expiredTime;
	@ApiModelProperty("企业编号")
	private String enterprisesCode;

}
